Method: Berkshelf::CachedCookbook#<=>

Defined in:
lib/berkshelf/cached_cookbook.rb

#<=>(other) ⇒ Object



93
94
95
# File 'lib/berkshelf/cached_cookbook.rb', line 93

def <=>(other)
  [cookbook_name, version] <=> [other.cookbook_name, other.version]
end